package com.smforj.ssm.sys.web.bean;

import java.util.List;

import org.springframework.context.annotation.Description;

import com.smforj.ssm.frame.core.bean.BaseBean;

/****
 * 角色信息实现的功能比较多，2017-05-08只实现基本的与用户的多对多，与菜单的多对多关系
 * 
 * @author Haijun Gao 
 * @date 2017-5-8 下午4:01:12
 * @desp http://www.cnblogs.com/saga5998/
 * @email 573107773@qq.com
 */
@Description("角色信息对象" +
		"角色与用户是多对多关系" +
		"角色与菜单是多对多关系" +
		"角色与权限是多对多关系")
public class Role extends BaseBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4456647313712592246L;
	
	private String roleName;
	private String remark; 
	private Integer checkStatus;
	
	private List<Module> modules;
	//private List<SysUser> users;
	/***
	 * 获取角色名称
	 * @return roleName
	 * @date 2017-5-8 下午4:08:06
	 */
	public String getRoleName() {
		return roleName;
	}
	/***
	 * 设备角色名称
	 * @param roleName
	 * @date 2017-5-8 下午4:08:26
	 */
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	/***
	 * get remark
	 * @return remark
	 * @date 2017-5-8 下午4:08:45
	 */
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	} 
/*	*//***
	 * get one to many user
	 * @return
	 * @date 2017-5-8 下午4:12:12
	 *//*
	public List<SysUser> getUsers() {
		return users;
	}
	*//***
	 * set one to many user
	 * @param users
	 * @date 2017-5-8 下午4:12:35
	 *//*
	public void setUsers(List<SysUser> users) {
		this.users = users;
	} */
	public List<Module> getModules() {
		return modules;
	}
	public void setModules(List<Module> modules) {
		this.modules = modules;
	}
	public Integer getCheckStatus() {
		return checkStatus;
	}
	public void setCheckStatus(Integer checkStatus) {
		this.checkStatus = checkStatus;
	}
}
